import re

x = input('请输入字符串: ')
pattern = re.compile(r'\b[a-zA-Z]{3}\b')
print(pattern.findall(x))
